package main

import (
	"fmt"

	"github.com/eatmoreapple/openwechat"
)

func ConsoleQrCode(uuid string) {
	fmt.Println("https://login.weixin.qq.com/qrcode/"+uuid)
}

func main() {
	bot := openwechat.DefaultBot(openwechat.Desktop)
	bot.UUIDCallback = ConsoleQrCode

	bot.Login()
}